package com.hyq.learn.api.rest;

import com.hyq.learn.api.model.request.CiperRequest;
import com.hyq.learn.api.model.response.CiperTestResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 处理加解密的相关功能
 *
 * @author : heyuqin
 * @since : 2024/03/20 11:01
 */
@RestController
@RequestMapping("api/v1/public/ciper")
public class CiperTestController {

    @PostMapping("ciper_test")
    public CiperTestResponse ciperTest(@RequestBody CiperRequest request) {
        return new CiperTestResponse("小何", "xiaohe", "data");
    }
}
